import Layout from '@/layout'

const wareHouseRouter = {
  path: '/wareHouse',
  component: Layout,
  redirect: '/wareHouse/imWareHouse',
  name: 'wareHouse',
  meta: {
    title: '仓库管理',
    icon: 'el-icon-s-home'
  },
  children: [
    {
      path: 'imWareHouse',
      component: () => import('@/views/wareHouse/im-warehouse'),
      name: 'imWareHouse',
      meta: { title: '入库管理' }
    },
    {
      path: 'exWarehouse',
      component: () => import('@/views/wareHouse/ex-warehouse'),
      name: 'exWarehouse',
      meta: { title: '出库管理' }
    }
  ]
}
export default wareHouseRouter
